#ifndef __LEXICO_H__
#define __LEXICO_H__

#include "datatypes.h"
#include <string>

using std::string;

class DocsListOffsets{
/* contiene el nº de documento y la lista de offsets dentro del documento
*/	
	public:
	
	DocsListOffsets();
	~DocsListOffsets();
	string			getStream(void);
	tStreamSize 	getStreamSize(void);
	void 			insertOffset( tOffset offset );
	
	private:
	
	tStreamSize		streamSize;
	
	unsigned long 	numberDoc;
	tOffsetList		offsetList;
};
/************************************************************************************/
class RegisterInfoWord{
/*registro con toda la informacion de los terminos
*/
	public:
	
	RegisterInfoWord();
	~RegisterInfoWord();
	string			getStream(void);
	tStreamSize 	getStreamSize(void);
	
	private:
	
	tStreamSize size;
	unsigned long Id;
	tDocsOffsetList docsList;
	
};


#endif // __LEXICO_H__
